<%@taglib  uri="/WEB-INF/struts-bean.tld"  prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<form action="hotel.do?action=editHotel" method="post">
    <table width="600" align="center">
        <tbody>
            <tr>
                <td>
                    <table class="tablemain" border="0">
                        <tr >
                            <th height="32" colspan="3" scope="col">Edit Hotel </th>
                        </tr>
                             <tr>
                                    <td width="253" height="32"><div align="right">Hotel ID : </div></td>
                                    <td width="510" colspan="2">
                                            <label>
                                                <input type="text" name="hotelName" value="${edit.hotelId}" disabled="true"/>
                                            </label>
                                           </td>
                                </tr>
                                <tr>
                                    <td width="253" height="32"><div align="right">Hotel Name : </div></td>
                                    <td width="510" colspan="2">
                                            <label>
                                                <input type="text" name="hotelName" value="${edit.hotelName}"/>
                                            </label>
                                           </td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">Email : </div></td>
                                    <td colspan="2"><input type="text" name="email" value="${edit.email}" /></td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">Website : </div></td>
                                    <td colspan="2"><input type="text" name="website" value="${edit.website}"/></td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">ImageUrl : </div></td>
                                    <td colspan="2"><input type="text" name="imagesUrl" value="${edit.imagesUrl}"/> </td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">Rate : </div></td>
                                    <td colspan="2"><input type="text" name="rate" value="${edit.rate}"/></td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">Address : </div></td>
                                    <td colspan="2"><input type="text" name="address" value="${edit.address}"/></td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">Phone </div></td>
                                    <td colspan="2"><input type="text" name="phone" value="${edit.phone}"/></td>
                                </tr>
                                <tr>
                                    <td height="39"><div align="right">City : </div></td>
                                    <td colspan="2"> <input type="text" name="city" value="${edit.city}"></td>
                                </tr>


                        <tr>
                            <td height="39" colspan="3"><div align="center">


                                    <input type="submit" name="action"  value="Update" />
                                    <input type="reset" name="" value="Reset">

                                </div></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>



</form>

